package edu.biwu.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;

    private String username;

    private LocalDate birthday;

    private String gender;

    private String address;

    //一个用户对应多个订单
    private List<Order> orders;
}
